package com.zxy.ziems.collector.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author 10348359
 * @create 2024-04-28 19:41
 */
@ConfigurationProperties(
        prefix = "ziems.collector"
)
@Component
@Data
public class CollectorProperties {

    /**
     * 标题
     */
    private String title;

    /**
     * 编码
     */
    private String code;
}
